<template>
    <div>
        <div v-for="el in tableData.listdata" :key="el.id">
            <img :src="proxy.$obj + el.img" />
            {{el.id}}
        </div>
    </div>
</template>
<script setup>
	import {onMounted,getCurrentInstance,reactive} from "vue"
    // let arr=ref("")
    let tableData=reactive({
        listdata:[]
    })
	let {proxy}=getCurrentInstance()
	onMounted(async ()=>{		
		let res=await proxy.$axios('/homedata')
		console.log(res.data,proxy.$obj,11111111111)
        
        tableData.listdata=res.data
	})

	
</script>
<style></style>